package com.qf.student.dao;

import com.qf.student.entity.Emp;

import java.util.List;

/**
 * @version1.0
 * @auth dmh
 */
public interface IEmpDao {
    public int insert(Emp emp); //

    public int updateById(Emp emp); // 根据主键更新

    public Emp selectById(Integer EMPNO); // 根据主键查询

    public int deleteById(Integer EMPNO);

    public List<Emp> selectList();

    public Emp selectByName(String ENAME);
}
